using System;
using System.Text;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using LeadTracker.Models;

namespace LeadTracker.Models.MSTest
{
	
	public partial class EditorModelTests
	{


        
		[TestMethod]
        public void EditorModelTests_Property_UserName_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.String defaultValue;
            try
            {
                defaultValue = objectUnderTest.UserName;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.UserName = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.UserName);;

		}    
        
        
		[TestMethod]
        public void EditorModelTests_Property_FirstName_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.String defaultValue;
            try
            {
                defaultValue = objectUnderTest.FirstName;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.FirstName = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.FirstName);;

		}    
        
        
		[TestMethod]
        public void EditorModelTests_Property_LastName_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.String defaultValue;
            try
            {
                defaultValue = objectUnderTest.LastName;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.LastName = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.LastName);;

		}    
        
        
		[TestMethod]
        public void EditorModelTests_Property_EmailAddress_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.String defaultValue;
            try
            {
                defaultValue = objectUnderTest.EmailAddress;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.EmailAddress = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.EmailAddress);;

		}    
        
        
		[TestMethod]
        public void EditorModelTests_Property_IsEnabled_SelfAssign ()
		{
			var objectUnderTest = CreateObject();
			
			System.Boolean defaultValue;
            try
            {
                defaultValue = objectUnderTest.IsEnabled;
            }
            catch (Exception ex)
            {
                Assert.Inconclusive("Could not complete test. Error reading property." + Environment.NewLine + ex.ToString());
                return;
            }
            
			objectUnderTest.IsEnabled = defaultValue;
			Assert.AreEqual(defaultValue, objectUnderTest.IsEnabled);;

		}    
        
	}
}

